<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Logout</title>
</head>
<body>
<%
session.removeAttribute("user");
session.invalidate();
response.sendRedirect("index.jsp");
%>
</body>
</html>